package cn.edu.scau.cmi.zeyang.adapter;

import cn.edu.scau.cmi.zeyang.domain.adapter.Target;

public class Client {

	public static void main(String[] args) {

		Target classTarget=new AdapterOfClass();
		System.out.println("类适配器："+classTarget.electricize());

		Target objectTarget=new AdapterOfObject();
		System.out.println("对象适配器"+objectTarget.electricize());
	}
}